home *** CD-ROM | disk | FTP | other *** search
/ Basic Instinct 2 Press Kit / Basic Instinct 2 Press Kit.iso / pc / main.dxr / Internal_21_Master Parent.ls < prev    next >
Encoding:
Text File  |  2006-03-15  |  3.5 KB  |  68 lines

  1. property pTitle, pPhotoList, pPosterList, pLogoList, pNotesList, pSummaryList, pPinStatus, pRectStatus, pSoundStatus, pGeneralSettings, pGallerySettings, pSlideShowSettings, pSavedSettings, pVideoSettings, pCaptionSettings, pPosterSettings, pExportSettings, pInternalFolders, pExternalFolders, pLogoSettings, pmarker, pGalleryPhotosList, pSavedSummaryList, pActivePhotoObject, pCount, pGalleryCount, pSavedCount, pPhotoSpriteStartNum, pRectangleSpriteStartNum, pPushPinSpriteStartNum, pMasterPath, pPlatformSymbol, pLanguageMode, pCaption1, pCaption2, pCaption3, pMediumCastLib, pSmallCastLib
  2.  
  3. on new me
  4.   pMediumCastLib = EMPTY
  5.   pSmallCastLib = EMPTY
  6.   pLanguageMode = "english"
  7.   pMasterPath = the pathname
  8.   if the platform contains "Mac" then
  9.     pPlatformSymbol = ":"
  10.   else
  11.     pPlatformSymbol = "\"
  12.   end if
  13.   pCount = 0
  14.   pGalleryCount = 0
  15.   pSavedCount = 0
  16.   pRectangleSpriteStartNum = 28
  17.   pPhotoSpriteStartNum = 69
  18.   pPushPinSpriteStartNum = 110
  19.   pPhotoList = []
  20.   pPosterList = []
  21.   pLogoList = []
  22.   pSummaryList = []
  23.   pNotesList = 0
  24.   pGalleryPhotosList = []
  25.   pSavedSummaryList = []
  26.   pActivePhotoObject = 0
  27.   pmarker = EMPTY
  28.   pTitle = EMPTY
  29.   pGeneralSettings = [#title: EMPTY, #stageColor: EMPTY, #url: EMPTY, #qtmac: EMPTY, #qtpc: EMPTY, #presskitid: 0]
  30.   pGallerySettings = [#pushpin: 1, #rectangles: 1, #blendeffect: 1, #blendpercent: 50, #xyeffect: 1, #percenteffect: 1, #percentage: 50, #xytitle: [0, 0], #pinoffset: [0, 0], #pingraphic: EMPTY, #titlelogoeffect: 1]
  31.   pSlideShowSettings = [#pushpin: 1, #rectangles: 1, #blendeffect: 1, #blendpercent: 50, #xyeffect: 1, #percenteffect: 1, #percentage: 50, #xytitle: [0, 0], #pinoffset: [0, 0], #pingraphic: EMPTY, #savedbutton: EMPTY, #savebutton: EMPTY, #xyflasheffect: 1, #titlelogoeffect: 1]
  32.   pSavedSettings = [#pushpin: 1, #rectangles: 1, #blendeffect: 1, #blendpercent: 50, #xyeffect: 1, #percenteffect: 1, #percentage: 50, #xytitle: [0, 0], #pinoffset: [0, 0], #pingraphic: EMPTY]
  33.   pVideoSettings = [#videomode: 1, #videoname: EMPTY, #xyvideo: point(0, 0), #videosprite: 0, #videopercentage: 0, #videocontroller: "on"]
  34.   pCaptionSettings = [#captionMaster: EMPTY, #captionFileNamedoc: EMPTY, #captionFileNamepdf: EMPTY, #captionFileNametxt: EMPTY]
  35.   pPosterSettings = [#pushpin: 1, #rectangles: 1, #blendeffect: 1, #blendpercent: 50, #xyeffect: 1, #percenteffect: 1, #percentage: 50, #savedbutton: EMPTY, #savebutton: EMPTY, #pinoffset: [0, 0]]
  36.   pExportSettings = [#savetodesktop: 1, #savetoharddrive: 1, #captions: 1, #notes: 1, #posters: 1]
  37.   pInternalFolders = [#qtfolder: EMPTY, #docsfolder: EMPTY, #imagesfolder: EMPTY, #posterfolder: EMPTY, #notesfolder: EMPTY, #logosfolder: EMPTY]
  38.   pExternalFolders = [#masterfolder: EMPTY, #docsfolder: EMPTY, #imagesfolder: EMPTY, #posterfolder: EMPTY, #notesfolder: EMPTY, #logosfolder: EMPTY]
  39.   pLogoSettings = [#pushpin: 1, #rectangles: 1, #blendeffect: 1, #blendpercent: 50, #xyeffect: 1, #percenteffect: 1, #percentage: 50, #savedbutton: EMPTY, #savebutton: EMPTY, #pinoffset: [0, 0]]
  40.   pCaptionSettings.captionMaster = "Word"
  41.   pCaption1 = EMPTY
  42.   pCaption2 = EMPTY
  43.   pCaption3 = EMPTY
  44.   return me
  45. end
  46.  
  47. on mSummarySelected me, vSmallName
  48.   repeat with y = 1 to pSummaryList.count
  49.     if pSummaryList[y].pSmallName = vSmallName then
  50.       pSummaryList[y].pSelected = "yes"
  51.       exit
  52.     end if
  53.   end repeat
  54. end
  55.  
  56. on mSummaryDeSelected me, vSmallName
  57.   repeat with y = 1 to pSummaryList.count
  58.     if pSummaryList[y].pSmallName = vSmallName then
  59.       pSummaryList[y].pSelected = "no"
  60.       exit
  61.     end if
  62.   end repeat
  63. end
  64.  
  65. on mTest2 me
  66.   alert("this worked again")
  67. end
  68.